<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div>
    <a href="#shouye">首页</a>
    <a href="#guanyu">关于我们</a>
    <a href="#lianxi">联系我们</a>
  </div>
  <div id="shouye" style="height: 1500px;">
    首页
  </div>
  <div id="guanyu" style="height: 1500px;">
    关于我们
  </div>
  <div id="lianxi" style="height: 1500px;">
    联系我们
  </div>
</body>
</html>